import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { OrderComponent } from './order/order.component';


@NgModule({
  declarations: [
    OrderComponent,
  ],
  imports: [
    CommonModule,
    RouterModule.forChild([
      {path: 'order', component: OrderComponent},
      {path: '', redirectTo: 'order', pathMatch: 'full'},
    ]),
  ],
})
export class OrderModule {
}
